package cn.fl.mcr.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.cmm.base.framework.exception.BaseException;
import cn.fl.mcr.service.IMcrBillBuyBackRecordService;
import cn.lionbridgecapital.loan.model.base.Pager;
import cn.lionbridgecapital.loan.model.condition.McrBillBuyBackRecordQC;
import cn.lionbridgecapital.loan.model.dto.McrBillBuyBackRecordDTO;
import cn.lionbridgecapital.loan.service.api.IMcrBillBuyBackRecordApiService;

@Service
public class McrBillBuyBackRecordServiceImpl implements IMcrBillBuyBackRecordService {

	@Autowired
	private IMcrBillBuyBackRecordApiService mcrBillBuyBackRecordApiService;
	
	@Override
	public Pager searchListPage(Pager page) throws BaseException {
		// TODO Auto-generated method stub
		return mcrBillBuyBackRecordApiService.searchListPage(page);
	}

	@Override
	public List<McrBillBuyBackRecordDTO> searchList(McrBillBuyBackRecordQC condition) {
		// TODO Auto-generated method stub
		return mcrBillBuyBackRecordApiService.searchList(condition);
	}

	@Override
	public boolean modify(McrBillBuyBackRecordDTO mcrBillBuyBackRecordDTO) throws BaseException {
		// TODO Auto-generated method stub
		return mcrBillBuyBackRecordApiService.modify(mcrBillBuyBackRecordDTO);
	}
	
}

